<?php


namespace App\Models;


class CommodityOrderDetail extends BaseModel
{
    public function spu()
    {
        return $this->hasOne(Commodity::class, 'id', 'spu_id');
    }
}